package com.mlethe.android.demo.recyclerview.adapter;

import android.widget.TextView;

import androidx.annotation.NonNull;

import com.mlethe.demo.recyclerview.adapter.R;
import com.mlethe.library.recyclerview.adapter.BaseQuickAdapter;
import com.mlethe.library.recyclerview.viewholder.ViewHolder;

public class ViewPagerGridAdapter extends BaseQuickAdapter<String> {
    public ViewPagerGridAdapter() {
        super(R.layout.item_recycler_view_pager_adapter_text);
    }

    @Override
    protected void convert(@NonNull ViewHolder holder, String item, int position) {
        TextView textView = holder.setText(R.id.text_view, item)
                .getView(R.id.text_view);
    }
}
